package BasicCmIRPSystem;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "ModifyResultIterator".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public class ModifyResultIteratorPOATie
	extends ModifyResultIteratorPOA
{
	private ModifyResultIteratorOperations _delegate;

	private POA _poa;
	public ModifyResultIteratorPOATie(ModifyResultIteratorOperations delegate)
	{
		_delegate = delegate;
	}
	public ModifyResultIteratorPOATie(ModifyResultIteratorOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public BasicCmIRPSystem.ModifyResultIterator _this()
	{
		return BasicCmIRPSystem.ModifyResultIteratorHelper.narrow(_this_object());
	}
	public BasicCmIRPSystem.ModifyResultIterator _this(org.omg.CORBA.ORB orb)
	{
		return BasicCmIRPSystem.ModifyResultIteratorHelper.narrow(_this_object(orb));
	}
	public ModifyResultIteratorOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(ModifyResultIteratorOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public boolean next_basic_cm_informations(short how_many, BasicCmIRPConstDefs.ResultSetHolder fetched_elements) throws BasicCmIRPSystem.NextBasicCmInformations,ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported
	{
		return _delegate.next_basic_cm_informations(how_many,fetched_elements);
	}

	public boolean next_modification_errors(short how_many, BasicCmIRPConstDefs.ModifyAttributeErrorsSeqHolder fetched_modify_errors) throws ManagedGenericIRPSystem.InvalidParameter,BasicCmIRPSystem.NextModifyErrors
	{
		return _delegate.next_modification_errors(how_many,fetched_modify_errors);
	}

	public void destroy() throws BasicCmIRPSystem.DestroyException,ManagedGenericIRPSystem.OperationNotSupported
	{
_delegate.destroy();
	}

}
